#import <iAd/iAd.h>
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <EventKit/EventKit.h>
#import <EventKitUI/EventKitUI.h>
#import <AudioToolbox/AudioServices.h>

#if !defined(MAKERGBA)
#define MAKERGBA(r,g,b,a)	(((a) << 24) | ((b) << 16) | ((g) << 8) | (r))
#endif	// !MAKERGBA
#if !defined(MAKERGB)
#define MAKERGB(r,g,b)		MAKERGBA(r,g,b,0xff)	// opaque
#endif	// !MAKERGB
#if !defined(GetRed)
#define GetRed(rgba)		((rgba)         & 0x000000ff)
#endif	// !GetRed
#if !defined(GetGreen)
#define GetGreen(rgba)		(((rgba) >> 8)  & 0x000000ff)
#endif	// !GetGreen
#if !defined(GetBlue)
#define GetBlue(rgba)		(((rgba) >> 16) & 0x000000ff)
#endif	// !GetBlue
#if !defined(GetAlpha)
#define GetAlpha(rgba)		(((rgba) >> 24) & 0x000000ff)
#endif	// !GetAlpha
#if !defined(GetRedf)
#define GetRedf(rgba)		(((float) GetRed(rgba))   / ((float) 0xff))
#endif	// !GetRedf
#if !defined(GetGreenf)
#define GetGreenf(rgba)		(((float) GetGreen(rgba)) / ((float) 0xff))
#endif	// !GetGreenf
#if !defined(GetBluef)
#define GetBluef(rgba)		(((float) GetBlue(rgba))  / ((float) 0xff))
#endif	// !GetBluef
#if !defined(GetAlphaf)
#define GetAlphaf(rgba)		(((float) GetAlpha(rgba)) / ((float) 0xff))
#endif	// !GetAlphaf

#define PRAY_DEFAULT_FONT_COLOR MAKERGB(0x58, 0x4e, 0x4f)
#define PRAY_DEFAULT_FONT_NAME			@"AppleGothic"
#define PRAY_DEFAULT_FONT_SIZE			14.0f
#define PRAY_BIG_FONT_SIZE				18.0f

#import "CaulyProtocol.h"
#import "CaulyViewController.h"
#import "CustomUI.h"
#import "PrayAppDelegate.h"
#import "BaseViewController.h"
#import "PraySetting.h"
#import "PurposeData.h"
#import "PurposeUI.h"
#import "NineDay.h"
#import "Rosario.h"
#import "PrayAlarm.h"
#import "PrayViewController.h"